#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"

SG_DATASTRUCTURE_POST_NAMESPACE_OPEN

struct BUSHForceData
{
    SG::DataStructure::Common::Id   m_eId      = 0;    /// Element identification number
    SG::DataStructure::Common::Real m_FX       = 0.0;  /// Force  x
    SG::DataStructure::Common::Real m_FY       = 0.0;  /// Force  y
    SG::DataStructure::Common::Real m_FZ       = 0.0;  /// Force  z
    SG::DataStructure::Common::Real m_MX       = 0.0;  /// Membrane force  in x
    SG::DataStructure::Common::Real m_MY       = 0.0;  /// Membrane force  in y
    SG::DataStructure::Common::Real m_MZ       = 0.0;  /// Bending moment in z-direction
    SG::DataStructure::Common::Id   m_domainId = 0;    /// Domain identifier
};

///< @brief 判断数据是否相等
DECLSPEC bool operator== (const BUSHForceData& val1, const BUSHForceData& val2);

///< @brief 排序使用
DECLSPEC bool operator< (const BUSHForceData& a, const BUSHForceData& b);

SG_DATASTRUCTURE_POST_NAMESPACE_CLOSE
